package com.xit.hitmouse.service;

import android.content.Context;

import com.xit.hitmouse.dao.DBHelper;
import com.xit.hitmouse.dao.ScoreDB;

public class ScoreService {
	ScoreDB scoreDB;
	public ScoreService(Context context) {
		super();
		scoreDB = ScoreDB.getInstance(context);
	}
	public void  saveScore(String name,int score){
		scoreDB.saveScore(name, score);
	}
	public String[] searchScore(){
		return scoreDB.serchScore();
	}
}
